/**
 * 
 */
package com.tc.dispatch.web.util.check.imp;

import javax.servlet.http.HttpServletRequest;

/**
 * @author cajeep
 *
 */
public class BasicRequest extends BasicTools{
	protected HttpServletRequest req;
	protected boolean REQUEST_IS_OK=false;
	public void setRequest(HttpServletRequest req)
	{
		this.req=req;
		this.REQUEST_IS_OK=true;
	}
	public String getRequestValue(String name)
	{
		if(this.REQUEST_IS_OK)
			return this.req.getParameter(name);
		else
			return null;
	}
	
}
